<table width="100%" border="0" cellpadding="0" cellspacing="0" class="guide">
	<tr>
		<td>
			<span style="float: left;">后台管理中心&nbsp;&raquo;&nbsp;用户管理</span>
			<span style="float: right;">
				<a href="javascript:history.go(-1);">&lt;- 返回</a>
			</span>
		</td>
	</tr>
</table>

<table width="100%" border="0" cellpadding="0" cellspacing="0" class="tableborder">
	<tr class="header">
		<td colspan="6">用户列表</td>
	</tr>
	<tr class="category" align="center">
		<td width="10%">用户ID</td>
		<td width="30%">设备号</td>
		<td width="10%">设备类型</td>
		<td width="20%">用户名</td>
		<td width="20%">昵称</td>
		<td width="10%">操作</td>
	</tr>
<?php
foreach ($this->data as $row)
{
	$machine_type = $row['machine_type'] == 0 ? 'ios' : 'android';
	echo <<<EOF
	<tr>
		<td class="altbg1" align="center">{$row['id']}</td>
		<td class="altbg2" align="center">{$row['token']}</td>
		<td class="altbg1" align="center">{$machine_type}</td>
		<td class="altbg2" align="center">{$row['username']}</td>
		<td class="altbg1" align="center">{$row['nickname']}</td>
		<td class="altbg2" align="center">
		    
		</td>
	</tr>
EOF;
}
?>
	<tr class="category">
		<td align="center" colspan="6">
			<?php echo $this->paging; ?>
		</td>
	</tr>
</table>
